<!--
 * @Author: @yzcheng
 * @Date: 2021-03-18 16:18:04
 * @Version: 1.0
 * @LastEditors: @yzcheng
 * @Description: 
 * @LastEditTime: 2021-03-31 18:34:58
-->
<template>
  <div class="waiting">
    <!-- <el-table :data="waitingList" @row-click="onShow" border style="width: 100%">
      <el-table-column prop="createTime" label="日期"> </el-table-column>
      <el-table-column prop="processInstanceName" label="实例名称"> </el-table-column>
      <el-table-column prop="userCode" label="姓名"> </el-table-column>
    </el-table> -->
    <toRead :isOut="false"></toRead>
  </div>
</template>

<script>
import toRead from '@/views/homePage/toread.vue'

import { mapState } from 'vuex'
export default {
  inject: ['onShow'],
  data() {
    return {}
  },
  components: { toRead },

  computed: {
    waitingList() {
      return this.readingList?.records?.filter((item) => item.readFlag === 0)
    },
    ...mapState('readingStore', ['readingList']),
  },
}
</script>
<style lang="scss" scoped>
.waiting {
  width: 100%;
  height: calc(100vh - 200px);
}
</style>
